<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <title>Fluenty Survey</title>
    <style>
      body {
        margin: 0 auto;
        padding: 0;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
          'Helvetica Neue', sans-serif;
        background-color: #f0f8ff;
        max-width: 600px;
      }
      .container {
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 100vh;
      }
      .nav-progress-container {
        display: flex;
        align-items: center;
        margin-bottom: 30px;
        gap: 15px;
        width: 100%;
      }
      .back-button {
        width: 30px;
        height: 30px;
        border: none;
        background: none;
        cursor: pointer;
        color: #2b85e4;
        font-size: 20px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .back-button svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
      }
      .progress-bar {
        flex: 1;
        height: 6px;
        background-color: #e0e0e0;
        border-radius: 3px;
      }
      .progress {
        height: 100%;
        width: 83.25%;
        background-color: #2b85e4;
        border-radius: 3px;
      }
      .title {
        font-size: 42px;
        font-weight: bold;
        color: #0f4c81;
        margin-bottom: 15px;
        line-height: 1.3;
        text-align: center;
      }
      .subtitle {
        font-size: 24px;
        font-weight: 600;
        color: #333;
        margin-bottom: 25px;
        text-align: center;
      }
      .interests-diagram {
        position: relative;
        margin: 40px auto;
        width: 100%;
        max-width: 500px;
        height: 500px;
      }
      .profile-circle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -60%);
        width: 240px;
        height: 340px;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;
        overflow: visible;
        z-index: 2;
      }
      .profile-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        border-radius: 0;
        mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
      }
      .category-bubble {
        position: absolute;
        padding: 10px 25px;
        background-color: #fff;
        border-radius: 30px;
        font-size: 20px;
        font-weight: 600;
        color: #0f4c81;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 3;
      }
      .emoji {
        font-size: 28px;
      }
      .interests {
        top: 10%;
        right: 18%;
      }
      .occasions {
        top: 32%;
        left: 8%;
      }
      .events {
        bottom: 32%;
        right: 18%;
      }
      .connection-line {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
      }
      .circle-outline {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 350px;
        height: 350px;
        border-radius: 50%;
        border: 1px solid rgba(43, 133, 228, 0.3);
        z-index: 1;
      }
      .continue-button {
        background-color: #3b82f6;
        color: white;
        border: none;
        border-radius: 12px;
        padding: 16px;
        font-size: 18px;
        font-weight: bold;
        width: 100%;
        cursor: pointer;
        text-align: center;
        margin-top: 20px;
        max-width: 500px;
      }
      .continue-button:hover {
        background-color: #2563eb;
      }
      .emoji-icon {
        position: absolute;
        font-size: 34px;
        z-index: 2;
      }
      .bank-icon {
        top: 9%;
        left: 25%;
      }
      .champagne-icon {
        top: 35%;
        left: 12%;
      }
      .briefcase-icon {
        top: 12%;
        right: 20%;
      }
      .airplane-icon {
        bottom: 20%;
        left: 20%;
      }
      .books-icon {
        bottom: 15%;
        right: 20%;
      }
      @media (max-width: 480px) {
        .title {
          font-size: 36px;
        }
        .subtitle {
          font-size: 20px;
        }
        .interests-diagram {
          height: 400px;
        }
        .profile-circle {
          width: 150px;
          height: 150px;
        }
        .circle-outline {
          width: 250px;
          height: 250px;
        }
        .category-bubble {
          font-size: 18px;
          padding: 10px 20px;
        }
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="nav-progress-container">
        <button class="back-button">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
            <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
          </svg>
        </button>
        <div class="progress-bar">
          <div class="progress"></div>
        </div>
      </div>
      <img src="./imgs/personalized-final.png" style="width: 100%;" />
      <h1 class="title">Let's answer a few more questions!</h1>
      <h2 class="subtitle">So, fluenty can understand how to personalize your program.</h2>

      <button class="continue-button">Continue</button>
    </div>

    <script>
      document.addEventListener('DOMContentLoaded', function () {
        const backButton = document.querySelector('.back-button')
        const continueButton = document.querySelector('.continue-button')

        backButton.addEventListener('click', function () {
          window.location.href = 'selectAllC.html'
        })

        continueButton.addEventListener('click', function () {
          // Navigate to the whatPersonal.html page
          window.location.href = 'whatPersonal.html'
        })
      })
    </script>
  </body>
</html>
